![]() |
PATH![]() |
![]() ![]() |
Double angle brackets can also occur in results. For example, if the value of a variable is a script object named Joe , AppleScript represents the script object as shown in this script:
script Joe
property theCount : 0
end script
set x to Joe
x
--result: «script Joe»
For more information about script objects, see Script Objects.
Similarly, if the value of a variable is of class Data and the Script Editor can't display the data directly in its native format, it uses double angle brackets to enclose both the word data and a sequence of numerical values that represent the data. Although this may not visually resemble the original data, the data's original format is preserved. You can treat the data like any other value, except that you can't view it directly in its native format in a Script Editor window. For an example, see Raw Data in Parameters.